package com.yuanjiu.dao.jiuxian;

import java.util.List;

import org.springframework.stereotype.Component;

import com.yuanjiu.pojo.jiuxian.CategoryIdName;
import com.yuanjiu.pojo.jiuxian.CategoryObject;
import com.yuanjiu.pojo.jiuxian.JiuxianComment;
import com.yuanjiu.pojo.jiuxian.JiuxianSpecObject;

@Component
public interface CategoryDao {

	public void insertCategory(CategoryObject categoryObject)throws Exception;
	
	public List<CategoryIdName> getCategoryName() throws Exception;

	public List<String> getCategoriesByParent(Integer catid) throws Exception;

	public List<CategoryObject> getCategories(Integer id)throws Exception;
	
	public String getCategoryIdByName(int value)throws Exception;

	public void insertJiuxianItem(JiuxianSpecObject jiuxianSpecObject)throws Exception;

	public void insertJiuxianComment(List<JiuxianComment> comlist)throws Exception;
	
	
}
